import java.awt.*;

public class Range {
    public static void main(String[] args) {
        //byte,short,int,long 范围
        System.out.printf("%d~%d%n", Byte.MIN_VALUE, Byte.MAX_VALUE);
        System.out.printf("%d~%d%n", Short.MIN_VALUE, Short.MAX_VALUE);
        System.out.printf("%d~%d%n", Integer.MIN_VALUE, Integer.MAX_VALUE);
        System.out.printf("%d~%d%n", Long.MIN_VALUE,Long.MAX_VALUE);
        //float ,double 精度范围
        System.out.printf("%f~%f%n", Float.MIN_VALUE, Float.MAX_VALUE);
        System.out.printf("%f~%f%n", Double.MIN_VALUE, Double.MAX_VALUE);
        //char可表示的Unicode范围
        System.out.printf("%h~%h%n", Character.MIN_VALUE, Character.MAX_VALUE);
        //Boolean的俩个值
        System.out.printf("%b~%b%n", Boolean.TRUE, Boolean.FALSE);
    }

    }
